<script>
export default {
  created () {
    // 调用API从本地缓存中获取数据
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)

    console.log('app created and cache logs by setStorageSync')
  }
}
</script>

<style>
body {
  font-family: PingFangSC-Light, sans-serif;
  background-color: #f9f9f9;
}

@font-face {
  font-family: 'iconfont';  /* project id 749508 */
  src: url('//at.alicdn.com/t/font_749508_t7a19lmeg0g.eot');
  src: url('//at.alicdn.com/t/font_749508_t7a19lmeg0g.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_749508_t7a19lmeg0g.woff') format('woff'),
  url('//at.alicdn.com/t/font_749508_t7a19lmeg0g.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_749508_t7a19lmeg0g.svg#iconfont') format('svg');
}

.iconfont {
  font-family: 'iconfont' !important;
  /* font-size: 12px; */
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 200rpx 10rpx;
  box-sizing: border-box;
}
/* this rule will be remove */
* {
  transition: width 2s;
  -moz-transition: width 2s;
  -webkit-transition: width 2s;
  -o-transition: width 2s;
}
</style>
